package com.inspur.edp.ai.flow.api;

import com.inspur.edp.ai.flow.engine.EventBus;
import lombok.Data;

import java.util.Map;
import java.util.concurrent.Future;

/**
 * @author lizhaorui
 * @date 2025/9/18
 * @description
 */

@Data
public class FlowResponse {

    private String flowInstanceId;

    private EventBus eventBus;

    private Future<Map<String, Object>> result;

    public FlowResponse(String flowInstanceId, EventBus eventBus, Future<Map<String, Object>> result) {
        this.flowInstanceId = flowInstanceId;
        this.eventBus = eventBus;
        this.result = result;
    }

}